{% extends "default/base.html.twig" %}

{% block stylesheets %}
    {{ parent() }}
    <link type="text/css" rel="stylesheet" href="{{ base_url() }}css/backend/dashboard.css">
{% endblock %}

{% block body %}
    {{ parent() }}
    <div class="col-sm-3 col-md-2 sidebar">
        <ul class="nav nav-sidebar">
            <li {% if item_active == 1 %}class="active"{% endif %}><a href={{ base_url('complejo/listar') }}>Complejos</a></li>
            <li {% if item_active == 2 %}class="active"{% endif %}><a href={{ base_url('cancha/listar') }}>Canchas</a></li>
            <li {% if item_active == 3 %}class="active"{% endif %}><a href={{ base_url('categoria/listar') }}>Categorias</a></li>
        </ul>
        <ul class="nav nav-sidebar">
            <li {% if item_active == 4 %}class="active"{% endif %}><a href={{ base_url('auth/create_user') }}>Crear Complejo</a></li>
        </ul>
    </div>
{% endblock %}